{{~it :row:idx}}
<tr>
    <td>{{=row.firstname}}</td>
    <td>{{=row.lastname}}</td>
    <td><a href='#' class='edit-customer' data-id='{{=idx}}'>Edit</a></td>
</tr>
{{~}}
